<template>
  <div class="page_root" :key="queryUpdateFlag" data-page-name="我的周报" data-page-identification="w_0t99ah6jy8">
    <a-spin :spinning="pageLoading.loading" :tip="pageLoading.tip">
      <!-- begin vid_rl9vy8v5u7 工作内容 -->
      <a-modal
        class="vid_rl9vy8v5u7"
        v-model:visible="vid_rl9vy8v5u7_props.visible"
        :centered="true"
        :title="'工作内容'"
        :maskClosable="false"
        :width="1200"
        @cancel="handle_vid_rl9vy8v5u7_cancel"
        @ok="handle_vid_rl9vy8v5u7_ok"
      >
        <!-- begin vid_9gjbgcfkvz 表格_qq9u2xqguu -->
        <!-- 表格_qq9u2xqguu -->
        <a-table
          class="vid_9gjbgcfkvz"
          :totalNumber="vid_9gjbgcfkvz_props.totalNumber"
          :bordered="true"
          :editRowSaveLoading="vid_9gjbgcfkvz_props.editRowSaveLoading"
          :sorter="vid_9gjbgcfkvz_props.sorter"
          :currentRow="vid_9gjbgcfkvz_props.currentRow"
          :selectedRowList="vid_9gjbgcfkvz_props.selectedRowList"
          :data-source="vid_9gjbgcfkvz_options()"
          @change="handle_vid_9gjbgcfkvz_change"
          :columns="vid_9gjbgcfkvz_columns"
          :pagination="false"
          row-key="id"
          @resizeColumn="(w, col) => handleResizeColumn(w, col, 'vid_9gjbgcfkvz')"
          :scroll="{ x: 'max-content', y: '600px', scrollToFirstRowOnChange: true, }"
          :row-class-name="(_record, index) => (index % 2 === 1 ? 'table-striped-even' : 'table-striped-odd')"
        >
          <template #headerCell="{ title, column }">
            <TableHeaderCell :title="title" :column="column" />
          </template>
          <template #bodyCell="{ text, column, record, index }">
            <!-- 序号列 -->
            <template v-if="column && column.dataIndex === 'vid_9gjbgcfkvz_serialNumber'">
              {{ index + 1 }}
            </template>
            <!-- {"type":"value","dataType":"STRING","rawDataType":"STRING","link":"","value":"时间"} 列内容 -->
            <template v-if="column.dataIndex === 'dailyDate' && !column.customRender">
              <text-table-cell
                :rowData="record"
                :conditionValueMap="vid_9gjbgcfkvz_props.boundaryValueMap"
                :dataSource="vid_9gjbgcfkvz_props.contentDataSource[column.dataIndex]"
                :columnsConfig="column"
                :value="text"
              />
            </template>
            <!-- {"type":"value","dataType":"STRING","rawDataType":"STRING","link":"","value":"工作内容"} 列内容 -->
            <template v-if="column.dataIndex === 'dailyContent' && !column.customRender">
              <text-table-cell
                :rowData="record"
                :conditionValueMap="vid_9gjbgcfkvz_props.boundaryValueMap"
                :dataSource="vid_9gjbgcfkvz_props.contentDataSource[column.dataIndex]"
                :columnsConfig="column"
                :value="text"
              />
            </template>
          </template>
        </a-table>
        <!-- end vid_9gjbgcfkvz 表格_qq9u2xqguu -->
      </a-modal>
      <!-- end vid_rl9vy8v5u7 工作内容 -->
      <!-- begin vid_428ccyynys 表单容器_us3ez5y756 -->
      <a-form ref="vid_428ccyynys_ref" class="vid_428ccyynys" :model="m_02wntqzz73" :formModel="vid_428ccyynys_props.formModel">
        <!-- begin vid_ej37udkjmn 布局容器_vs6auzgc4y -->
        <a-row class="vid_ej37udkjmn" :slots="'6:6:6:6'">
          <a-col :span="6">
            <!-- begin vid_fwd40nqr8s 表单项容器_40emyiosyj -->
            <a-form-item name="w_jz0c7q9a04" :rules="m_02wntqzz73_rules[`w_jz0c7q9a04`]" class="vid_fwd40nqr8s" :label-col='{"span":6}' :wrapper-col='{"span":18}'>
              <!-- begin vid_2ud6agub9y 日期dateOption -->
              <a-date-picker
                class="vid_2ud6agub9y"
                :getPopupContainer="(node) => node.parentNode"
                v-model:value="m_02wntqzz73.w_jz0c7q9a04"
                :format="'YYYY-MM'"
                :valueFormat="'YYYY-MM'"
                :placeholder="'请选择'"
                :picker="'month'"
                :showTime="vid_2ud6agub9y_props.showTime"
              >
              </a-date-picker>
              <!-- end vid_2ud6agub9y 日期dateOption -->
              <template #label>
                <!-- begin vid_a9w0ogsjhw 日期选择 -->
                <span class="vid_a9w0ogsjhw"> 日期选择 </span>
                <!-- end vid_a9w0ogsjhw 日期选择 -->
              </template>
            </a-form-item>
            <!-- end vid_fwd40nqr8s 表单项容器_40emyiosyj -->
          </a-col>
          <a-col :span="6">
            <!-- begin vid_vk3nebeszm 表单项容器_zvephagcyn -->
            <a-form-item name="r_xc6e2ec0mi" :rules="m_02wntqzz73_rules[`r_xc6e2ec0mi`]" class="vid_vk3nebeszm" :label-col='{"span":6}' :wrapper-col='{"span":18}'>
              <!-- begin vid_fai3ege64z 下拉框_week -->
              <a-select
                class="vid_fai3ege64z"
                :getPopupContainer="(node) => node.parentNode"
                v-model:value="m_02wntqzz73.r_xc6e2ec0mi"
                :showArrow="true"
                :filterOption="(input, option) => {
          return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0;
        }"
                :dropdownMatchSelectWidth="true"
                :showSearch="true"
                :placeholder="'请选择'"
                :allowClear="true"
                :searchValue="vid_fai3ege64z_props.searchValue"
                :selected="vid_fai3ege64z_props.selected"
                :options="vid_fai3ege64z_options()"
                @focus="handle_vid_fai3ege64z_focus"
                @change="handle_vid_fai3ege64z_change"
                @search="handle_vid_fai3ege64z_search"
              >
              </a-select>
              <!-- end vid_fai3ege64z 下拉框_week -->
              <template #label>
                <!-- begin vid_qb96n4kgho 周 -->
                <span class="vid_qb96n4kgho"> 周 </span>
                <!-- end vid_qb96n4kgho 周 -->
              </template>
            </a-form-item>
            <!-- end vid_vk3nebeszm 表单项容器_zvephagcyn -->
          </a-col>
          <a-col :span="6">
            <!-- begin vid_r21o6ggnz1 查询 -->
            <a-button class="vid_r21o6ggnz1" :type="'primary'" @click="handle_vid_r21o6ggnz1_click"> 查询 </a-button>
            <!-- end vid_r21o6ggnz1 查询 -->
            <!-- begin vid_1vue9vmoey 重置 -->
            <a-button class="vid_1vue9vmoey" @click="handle_vid_1vue9vmoey_click"> 重置 </a-button>
            <!-- end vid_1vue9vmoey 重置 -->
          </a-col>
          <a-col :span="6"> </a-col>
        </a-row>
        <!-- end vid_ej37udkjmn 布局容器_vs6auzgc4y -->
      </a-form>
      <!-- end vid_428ccyynys 表单容器_us3ez5y756 -->
      <!-- begin vid_6zqqvkzz4x 容器_90gawcu4e4 -->
      <al-box class="vid_6zqqvkzz4x">
        <!-- begin vid_quyu77h3tn 布局容器_ajbjma8td0 -->
        <a-row class="vid_quyu77h3tn" :slots="'24'">
          <a-col :span="24">
            <!-- begin vid_y6ya0nnajf 简单文本_sq248qyznc -->
            <span class="vid_y6ya0nnajf">
              {{ renderStringInTemplate(vid_y6ya0nnajf_props.rt_text) }}
            </span>
            <!-- end vid_y6ya0nnajf 简单文本_sq248qyznc -->
          </a-col>
        </a-row>
        <!-- end vid_quyu77h3tn 布局容器_ajbjma8td0 -->
        <!-- begin vid_adtzo2ckfq 表格_7pocajidec -->
        <!-- 表格_7pocajidec -->
        <a-table
          class="vid_adtzo2ckfq"
          :totalNumber="vid_adtzo2ckfq_props.totalNumber"
          :bordered="true"
          :editRowSaveLoading="vid_adtzo2ckfq_props.editRowSaveLoading"
          :sorter="vid_adtzo2ckfq_props.sorter"
          :currentRow="vid_adtzo2ckfq_props.currentRow"
          :selectedRowList="vid_adtzo2ckfq_props.selectedRowList"
          :data-source="vid_adtzo2ckfq_options()"
          @change="handle_vid_adtzo2ckfq_change"
          :columns="vid_adtzo2ckfq_columns"
          :pagination="vid_adtzo2ckfq_pagination"
          row-key="id"
          @resizeColumn="(w, col) => handleResizeColumn(w, col, 'vid_adtzo2ckfq')"
          :scroll="{ x: 'max-content', scrollToFirstRowOnChange: true, }"
          :row-class-name="(_record, index) => (index % 2 === 1 ? 'table-striped-even' : 'table-striped-odd')"
        >
          <template #headerCell="{ title, column }">
            <TableHeaderCell :title="title" :column="column" />
          </template>
          <template #bodyCell="{ text, column, record, index }">
            <!-- 操作列 -->
            <div v-if="column.dataIndex === 'vid_adtzo2ckfq_operation'" class="operation-cell">
              <!-- 默认分组 -->
              <span>
                <a-button type="link" @click="handle_vid_adtzo2ckfq_clickBtn_sx4fdakyyx(record)">工作内容</a-button>
              </span>
            </div>

            <!-- 序号列 -->
            <template v-if="column && column.dataIndex === 'vid_adtzo2ckfq_serialNumber'">
              {{ index + 1 }}
            </template>
            <!-- {"type":"value","dataType":"STRING","rawDataType":"STRING","link":"","value":"部门"} 列内容 -->
            <template v-if="column.dataIndex === 'department' && !column.customRender">
              <text-table-cell
                :rowData="record"
                :conditionValueMap="vid_adtzo2ckfq_props.boundaryValueMap"
                :dataSource="vid_adtzo2ckfq_props.contentDataSource[column.dataIndex]"
                :columnsConfig="column"
                :value="text"
              />
            </template>
            <!-- {"type":"value","dataType":"STRING","rawDataType":"STRING","link":"","value":"项目代号"} 列内容 -->
            <template v-if="column.dataIndex === 'projectName' && !column.customRender">
              <text-table-cell
                :rowData="record"
                :conditionValueMap="vid_adtzo2ckfq_props.boundaryValueMap"
                :dataSource="vid_adtzo2ckfq_props.contentDataSource[column.dataIndex]"
                :columnsConfig="column"
                :value="text"
              />
            </template>
            <!-- {"type":"value","dataType":"STRING","rawDataType":"STRING","link":"","value":"项目代号"} 列内容 -->
            <template v-if="column.dataIndex === 'reportedBy' && !column.customRender">
              <text-table-cell
                :rowData="record"
                :conditionValueMap="vid_adtzo2ckfq_props.boundaryValueMap"
                :dataSource="vid_adtzo2ckfq_props.contentDataSource[column.dataIndex]"
                :columnsConfig="column"
                :value="text"
              />
            </template>
            <!-- {"type":"value","dataType":"STRING","rawDataType":"STRING","link":"","value":"项目阶段"} 列内容 -->
            <template v-if="column.dataIndex === 'milepostName' && !column.customRender">
              <text-table-cell
                :rowData="record"
                :conditionValueMap="vid_adtzo2ckfq_props.boundaryValueMap"
                :dataSource="vid_adtzo2ckfq_props.contentDataSource[column.dataIndex]"
                :columnsConfig="column"
                :value="text"
              />
            </template>
            <!-- {"type":"value","dataType":"STRING","rawDataType":"STRING","link":"","value":"任务名称"} 列内容 -->
            <template v-if="column.dataIndex === 'taskName' && !column.customRender">
              <text-table-cell
                :rowData="record"
                :conditionValueMap="vid_adtzo2ckfq_props.boundaryValueMap"
                :dataSource="vid_adtzo2ckfq_props.contentDataSource[column.dataIndex]"
                :columnsConfig="column"
                :value="text"
              />
            </template>
            <!-- {"type":"value","dataType":"STRING","rawDataType":"STRING","link":"","value":"任务工时"} 列内容 -->
            <template v-if="column.dataIndex === 'workingHours' && !column.customRender">
              <number-table-cell
                :rowData="record"
                :conditionValueMap="vid_adtzo2ckfq_props.boundaryValueMap"
                :dataSource="vid_adtzo2ckfq_props.contentDataSource[column.dataIndex]"
                :columnsConfig="column"
                :value="text"
              />
            </template>
            <!-- {"type":"value","dataType":"STRING","rawDataType":"STRING","link":"","value":"任务状态"} 列内容 -->
            <template v-if="column.dataIndex === 'taskStatus' && !column.customRender">
              <text-table-cell
                :rowData="record"
                :conditionValueMap="vid_adtzo2ckfq_props.boundaryValueMap"
                :dataSource="vid_adtzo2ckfq_props.contentDataSource[column.dataIndex]"
                :columnsConfig="column"
                :value="text"
              />
            </template>
            <!-- {"type":"value","dataType":"STRING","rawDataType":"STRING","link":"","value":"计划完成时间"} 列内容 -->
            <template v-if="column.dataIndex === 'endTime' && !column.customRender">
              <date-picker-table-cell
                :rowData="record"
                :conditionValueMap="vid_adtzo2ckfq_props.boundaryValueMap"
                :dataSource="vid_adtzo2ckfq_props.contentDataSource[column.dataIndex]"
                :columnsConfig="column"
                :value="text"
              />
            </template>
            <!-- {"type":"value","dataType":"STRING","rawDataType":"STRING","link":"","value":"工作内容"} 列内容 -->
            <template v-if="column.dataIndex === 'custom7' && !column.customRender">
              <text-table-cell
                :rowData="record"
                :conditionValueMap="vid_adtzo2ckfq_props.boundaryValueMap"
                :dataSource="vid_adtzo2ckfq_props.contentDataSource[column.dataIndex]"
                :columnsConfig="column"
                :value="text"
              />
            </template>
            <!-- {"type":"value","dataType":"STRING","rawDataType":"STRING","link":"","value":"周工时统计"} 列内容 -->
            <template v-if="column.dataIndex === 'custom0' && !column.customRender">
              <text-table-cell
                :rowData="record"
                :conditionValueMap="vid_adtzo2ckfq_props.boundaryValueMap"
                :dataSource="vid_adtzo2ckfq_props.contentDataSource[column.dataIndex]"
                :columnsConfig="column"
                :value="text"
              />
            </template>
            <!-- {"type":"value","dataType":"STRING","rawDataType":"STRING","link":"","value":"taskId"} 列内容 -->
            <template v-if="column.dataIndex === 'taskId' && !column.customRender">
              <text-table-cell
                :rowData="record"
                :conditionValueMap="vid_adtzo2ckfq_props.boundaryValueMap"
                :dataSource="vid_adtzo2ckfq_props.contentDataSource[column.dataIndex]"
                :columnsConfig="column"
                :value="text"
              />
            </template>
          </template>
        </a-table>
        <!-- end vid_adtzo2ckfq 表格_7pocajidec -->
      </al-box>
      <!-- end vid_6zqqvkzz4x 容器_90gawcu4e4 -->
    </a-spin>
  </div>
</template>
<script setup lang="tsx">
  import {
      h, ref, reactive, toRaw, markRaw, watch, computed,
      onBeforeMount, onMounted, onBeforeUnmount, onUnmounted, onActivated, onDeactivated
    } from "vue";
    import { useRoute, useRouter } from 'vue-router';
    const router = useRouter();
    const route = useRoute();
    import { get, post, put, del, request, requestWithHeaders } from '@/utils/http/Axios';
    import { cloneDeep, localGet, merge, getDifferenceArray, traversalTreeStructure, checkCaseCondition, renderStringInTemplate, handleBreadcrumbJump, throttle, permission, getComponentParamsValue } from '@/utils/index';
    import { isNullOrEmpty, isEmptyArr, isNullOrUnDef, isContained, isArray, isEmpty, isObject } from '@/utils/is';
    import dayjs from 'dayjs';
    import { getPagePcChartsDataSourceConvert } from '@/utils/chart';
    import { message, notification, Modal } from 'ant-design-vue'
    import { propertyFormatByNumber, propertyFormatByPercentage, propertyFormatByDate, parseSubFromDataList } from '@/utils/format';
    import colorTheme from '@/design/custom-theme.json';
    
    import UserTableRecords from '@/model/UserTableRecords';
    import { getAppBaseUrl } from '@/utils/index';
    import { sendToken } from "@/hooks/useIframeToken";
    import { useSystemStore } from "@/store/modules/system";
    const systemStore = useSystemStore();
    

  import TextTableCell from '@/components/page/tableCell/text.vue';
  import TooltipTableCell from '@/components/page/tableCell/tooltip.vue';
  import NumberTableCell from '@/components/page/tableCell/number.vue';
  import ProgressTableCell from '@/components/page/tableCell/progress.vue';
  import OptionsTableCell from '@/components/page/tableCell/options.vue';
  import MultipleOptionsTableCell from '@/components/page/tableCell/multipleOptions.vue';
  import DatePickerTableCell from '@/components/page/tableCell/datePicker.vue';
  import RangePickerTableCell from '@/components/page/tableCell/rangePicker.vue';
  import RangeNumberTableCell from '@/components/page/tableCell/rangeNumber.vue';
  import BoolTableCell from '@/components/page/tableCell/bool.vue';
  import TableHeaderCell from '@/components/page/TableHeaderCell.vue';

      // 获取传入的流程ID和组件参数
      const props = defineProps({
            'processInstanceId': {
            type: [String,Number,Boolean],
            default: undefined,
        },
      })
      const immediateWatch = (source, callback) => {
        watch(source, callback, {deep: true,immediate: true })
      }



  /* -------------------------- 属性定义 -------------------------- */

      const setTimeOutList = [];
      const pageLoading = reactive({
        loading: false,
        tip: undefined
      });
      const authInfo = localGet('app-user-store');

    const vid_rl9vy8v5u7_props = reactive({
          visible: false,
      confirmLoading: undefined,
  })

    const vid_9gjbgcfkvz_props = reactive({
          systemSort: [],
      sorter: {},
      editRowSaveLoading: {},
      currentRow: {"dailyDate":"","dailyContent":""},
      selectedRowList: {"dailyDate":[],"dailyContent":[]},
      totalNumber: undefined,
      rt_tableConfig: {"layout":{"showHeader":true,"sticky":false,"operationColumnFixed":"default"},"pagination":{"current":1,"pageSizeOptions":"10,20,30,40","enable":false,"showTotal":false,"hideOnSinglePage":false,"pageSize":10,"simple":false,"sync":false,"showQuickJumper":false,"showSizeChanger":false},"scroll":{"x":"max-content","y":"600px","scrollToFirstRowOnChange":true},"style":{"contentStyle":{"borderColor":"#D9D9D9","enableContentStyle":true,"fontFamily":"arial, helvetica, \"microsoft yahei\"","lintHeight":40,"borderWidth":1,"evenLineBackColor":"#F8FAFC","textWeight":"400","fontSize":14,"oddLineBackColor":"#FFFFFF","textColor":"#262626"},"paginationStyle":{"layout":"bottomRight","size":"default"},"headerStyle":{"borderColor":"#D9D9D9","backgroundColor":"#3875FF","fontFamily":"arial, helvetica, \"microsoft yahei\"","lintHeight":40,"borderWidth":1,"textWeight":"600","fontSize":14,"enableTextStyle":true,"textColor":"#FFFFFF"}},"basic":{"rowSelection":false,"rowEdit":{"cancelText":"取消","editText":"编辑","saveText":"保存"},"title":"","showSequenceNumber":false,"rowKey":"id"}},
      columnList: [
          {
            id: 'oxhwdoefsp',
            dataIndex: 'dailyDate',
            headerComment: false,
            title: '时间',
            ellipsis: false,
            headerOverflow: 'ellipsis',
            contentAlign: 'left',
            customHeaderCell: () => ({ style: { 'text-align': 'left' } }),
            rowEditConditions: [],
            contentType: 'TEXT',
            contentConfig: {"conditionStyle":[],"boolConfig":"collection"},
            // 使用插槽的列，设置单元格padding为0，padding样式在内容插槽中已加，以便内容插槽设置背景色时可以占满整个单元格；该样式会在计算属性生成列配置时加入customCell
            customCellStyle: { padding: 0 },
            width: 150,
            resizable: true,
          },
          {
            id: 'l0zzuxiqav',
            dataIndex: 'dailyContent',
            headerComment: false,
            title: '工作内容',
            ellipsis: false,
            headerOverflow: 'ellipsis',
            contentAlign: 'left',
            customHeaderCell: () => ({ style: { 'text-align': 'left' } }),
            rowEditConditions: [],
            contentType: 'TEXT',
            contentConfig: {"conditionStyle":[],"boolConfig":"collection"},
            // 使用插槽的列，设置单元格padding为0，padding样式在内容插槽中已加，以便内容插槽设置背景色时可以占满整个单元格；该样式会在计算属性生成列配置时加入customCell
            customCellStyle: { padding: 0 },
            width: 800,
            resizable: true,
          },

        ],
      rawColumnList: [],
      // 进行行合并所需的排序规则，必须将其加到排序字段的前面，以实现合并单元格
      rowMergeSort: [],
      // 完整的排序规则：需要将行合并的排序规则和排序字段的排序规则赋给该属性；调接口时会使用其作为排序条件
      systemSort: [],
      // 条件格式需要的边界值映射：key为边界值id，value为边界值数据
      boundaryValueMap: {},
      // 表格单元格内容渲染需要的外部数据源：key为列，value为该列单元格的外部数据源配置
      contentDataSource: {},
  })

    const vid_428ccyynys_props = reactive({
          formModel: {"r_xc6e2ec0mi":"","w_jz0c7q9a04":""},
  })

    const vid_fai3ege64z_props = reactive({
          selected: {"label":"","value":"","option":{}},
      searchValue: undefined,
      value: undefined,
  })

    const vid_2ud6agub9y_props = reactive({
          showTime: undefined,
      value: dayjs().format('YYYY-MM'),
  })

    const vid_y6ya0nnajf_props = reactive({
          rt_text: undefined,
  })

    const vid_adtzo2ckfq_props = reactive({
          systemSort: [],
      sorter: {},
      editRowSaveLoading: {},
      currentRow: {"department":"","projectName":"","reportedBy":"","milepostName":"","taskName":"","workingHours":"","taskStatus":"","endTime":"","custom7":"","custom0":"","taskId":""},
      selectedRowList: {"custom0":[],"milepostName":[],"taskName":[],"endTime":[],"department":[],"projectName":[],"reportedBy":[],"custom7":[],"workingHours":[],"taskStatus":[],"taskId":[]},
      totalNumber: undefined,
      rt_tableConfig: {"layout":{"showHeader":true,"sticky":false,"operationColumnFixed":"default"},"pagination":{"current":1,"pageSizeOptions":"10,20,30,40","enable":true,"showTotal":true,"hideOnSinglePage":false,"pageSize":"15","simple":false,"sync":true,"showQuickJumper":true,"showSizeChanger":false},"scroll":{"x":"max-content","y":"","scrollToFirstRowOnChange":true},"style":{"contentStyle":{"borderColor":"#D9D9D9","enableContentStyle":true,"fontFamily":"arial, helvetica, \"microsoft yahei\"","lintHeight":40,"borderWidth":1,"evenLineBackColor":"#F8FAFC","textWeight":"400","fontSize":14,"oddLineBackColor":"#FFFFFF","textColor":"#262626"},"paginationStyle":{"layout":"bottomRight","size":"default"},"headerStyle":{"borderColor":"#EBEBEB","backgroundColor":"#3875FF","fontFamily":"arial, helvetica, \"microsoft yahei\"","lintHeight":40,"borderWidth":1,"textWeight":"600","fontSize":14,"enableTextStyle":true,"textColor":"#FFFFFF"}},"basic":{"rowSelection":false,"rowEdit":{"cancelText":"取消","editText":"编辑","saveText":"保存"},"title":"","showSequenceNumber":false,"rowKey":"id"}},
      columnList: [
          {
            id: 'jtzef4hops',
            dataIndex: 'department',
            headerComment: false,
            title: '部门',
            ellipsis: false,
            headerOverflow: 'ellipsis',
            contentAlign: 'left',
            customHeaderCell: () => ({ style: { 'text-align': 'left' } }),
            rowEditConditions: [],
            contentType: 'TEXT',
            contentConfig: {"conditionStyle":[],"boolConfig":"collection"},
            // 使用插槽的列，设置单元格padding为0，padding样式在内容插槽中已加，以便内容插槽设置背景色时可以占满整个单元格；该样式会在计算属性生成列配置时加入customCell
            customCellStyle: { padding: 0 },
            resizable: true,
          },
          {
            id: 'b5bc5ypjn5',
            dataIndex: 'projectName',
            headerComment: false,
            title: '项目代号',
            ellipsis: false,
            headerOverflow: 'ellipsis',
            contentAlign: 'left',
            customHeaderCell: () => ({ style: { 'text-align': 'left' } }),
            rowEditConditions: [],
            contentType: 'TEXT',
            contentConfig: {"conditionStyle":[],"boolConfig":"collection"},
            // 使用插槽的列，设置单元格padding为0，padding样式在内容插槽中已加，以便内容插槽设置背景色时可以占满整个单元格；该样式会在计算属性生成列配置时加入customCell
            customCellStyle: { padding: 0 },
            width: 300,
            resizable: true,
          },
          {
            id: 'ejrfto1a2m',
            dataIndex: 'milepostName',
            headerComment: false,
            title: '项目阶段',
            ellipsis: false,
            headerOverflow: 'ellipsis',
            contentAlign: 'left',
            customHeaderCell: () => ({ style: { 'text-align': 'left' } }),
            rowEditConditions: [],
            contentType: 'TEXT',
            contentConfig: {"conditionStyle":[],"boolConfig":"collection"},
            // 使用插槽的列，设置单元格padding为0，padding样式在内容插槽中已加，以便内容插槽设置背景色时可以占满整个单元格；该样式会在计算属性生成列配置时加入customCell
            customCellStyle: { padding: 0 },
            resizable: true,
          },
          {
            id: '2smxkf0rcn',
            dataIndex: 'taskName',
            headerComment: false,
            title: '任务名称',
            ellipsis: false,
            headerOverflow: 'ellipsis',
            contentAlign: 'left',
            customHeaderCell: () => ({ style: { 'text-align': 'left' } }),
            rowEditConditions: [],
            contentType: 'TEXT',
            contentConfig: {"conditionStyle":[],"boolConfig":"collection"},
            // 使用插槽的列，设置单元格padding为0，padding样式在内容插槽中已加，以便内容插槽设置背景色时可以占满整个单元格；该样式会在计算属性生成列配置时加入customCell
            customCellStyle: { padding: 0 },
            resizable: true,
          },
          {
            id: 'srhzahbdxe',
            dataIndex: 'workingHours',
            headerComment: false,
            title: '任务工时',
            ellipsis: false,
            headerOverflow: 'ellipsis',
            contentAlign: 'left',
            customHeaderCell: () => ({ style: { 'text-align': 'left' } }),
            rowEditConditions: [],
            contentType: 'NUMBER',
            contentConfig: {"conditionStyle":[],"boolConfig":"collection"},
            // 使用插槽的列，设置单元格padding为0，padding样式在内容插槽中已加，以便内容插槽设置背景色时可以占满整个单元格；该样式会在计算属性生成列配置时加入customCell
            customCellStyle: { padding: 0 },
            resizable: true,
          },
          {
            id: '68gmzlcggb',
            dataIndex: 'taskStatus',
            headerComment: false,
            title: '任务状态',
            ellipsis: false,
            headerOverflow: 'ellipsis',
            contentAlign: 'left',
            customHeaderCell: () => ({ style: { 'text-align': 'left' } }),
            rowEditConditions: [],
            contentType: 'TEXT',
            contentConfig: {"conditionStyle":[],"boolConfig":"collection"},
            // 使用插槽的列，设置单元格padding为0，padding样式在内容插槽中已加，以便内容插槽设置背景色时可以占满整个单元格；该样式会在计算属性生成列配置时加入customCell
            customCellStyle: { padding: 0 },
            resizable: true,
          },
          {
            id: 'n27g57b2eb',
            dataIndex: 'endTime',
            headerComment: false,
            title: '计划完成时间',
            ellipsis: false,
            headerOverflow: 'ellipsis',
            contentAlign: 'left',
            customHeaderCell: () => ({ style: { 'text-align': 'left' } }),
            rowEditConditions: [],
            contentType: 'TIME',
            contentConfig: {"format":"YYYY-MM-DD","conditionStyle":[],"boolConfig":"collection"},
            // 使用插槽的列，设置单元格padding为0，padding样式在内容插槽中已加，以便内容插槽设置背景色时可以占满整个单元格；该样式会在计算属性生成列配置时加入customCell
            customCellStyle: { padding: 0 },
            resizable: true,
          },
          {
            dataIndex: 'vid_adtzo2ckfq_operation',
            title: '操作',
          },
        ],
      rawColumnList: [],
      // 进行行合并所需的排序规则，必须将其加到排序字段的前面，以实现合并单元格
      rowMergeSort: [
        { order: 'department', direction: 'ASC' },
  { order: 'projectName', direction: 'ASC' },
  { order: 'reportedBy', direction: 'ASC' },
  { order: 'custom0', direction: 'ASC' },
      ],
      // 完整的排序规则：需要将行合并的排序规则和排序字段的排序规则赋给该属性；调接口时会使用其作为排序条件
      systemSort: [
        { order: 'department', direction: 'ASC' },
  { order: 'projectName', direction: 'ASC' },
  { order: 'reportedBy', direction: 'ASC' },
  { order: 'custom0', direction: 'ASC' },
      ],
      // 条件格式需要的边界值映射：key为边界值id，value为边界值数据
      boundaryValueMap: {},
      // 表格单元格内容渲染需要的外部数据源：key为列，value为该列单元格的外部数据源配置
      contentDataSource: {},
  })
  // ---------------------------- 定义模型数据 ----------------------------

    const m_02wntqzz73 = reactive({"w_jz0c7q9a04":dayjs().format("YYYY-MM")})

    // ============================ 定义模型数据 ============================


    const m_02wntqzz73_rules = reactive({


    })


      // 处理校验
      const setSubFormName =(parentInfo, name)=>{
        return [parentInfo.parents, parentInfo.cycleIndex, name];
      }


    const vid_9gjbgcfkvz_options_raw = ref([])

      const vid_9gjbgcfkvz_options = computed(() => {
        return () => vid_9gjbgcfkvz_options_raw.value
      })



    const vid_fai3ege64z_options_raw = ref([])

      const vid_fai3ege64z_options = computed(() => {
        return (dataSource = vid_fai3ege64z_options_raw.value)=>{
          return (dataSource || []).map(item => {
            return {
              ...item,
              value: item.value,
          disabled: !!item.disabled,
          label: item.label
            }
          })
        }
      })



    const vid_adtzo2ckfq_options_raw = ref([])

      const vid_adtzo2ckfq_options = computed(() => {
        return () => vid_adtzo2ckfq_options_raw.value
      })

  // 图表组件 表格_qq9u2xqguu 条件格式数据依赖
  const vid_9gjbgcfkvz_chartConditionDependencyMap = ref({
  })
  // 图表组件 下拉框_week 条件格式数据依赖
  const vid_fai3ege64z_chartConditionDependencyMap = ref({
  })
  // 图表组件 表格_7pocajidec 条件格式数据依赖
  const vid_adtzo2ckfq_chartConditionDependencyMap = ref({
  })
  /* ========================== 属性定义 ========================== */


  /* -------------------------- 元素数据引用 -------------------------- */
  // 组件 表单容器_us3ez5y756 ref 的引用
  const vid_428ccyynys_ref = ref(null);

  /* ========================== 元素数据引用 ========================== */


  /* -------------------------- 页面数据 -------------------------- */

    // 页面数据 周日报信息
    const dataConnector_conn_8c3r8lncog_response = ref();
    const dataConnector_conn_8c3r8lncog = async (additionParams = {}) => {
        const exec = async () => {
          // 获取参数
          const params = {
            week: m_02wntqzz73.r_xc6e2ec0mi,
          pageNo: vid_9gjbgcfkvz_props?.rt_tableConfig.pagination.current,
          dateOption: m_02wntqzz73.w_jz0c7q9a04,
          pageSize: vid_9gjbgcfkvz_props?.rt_tableConfig.pagination.pageSize,
          myWeekly: 'true',
          department: vid_adtzo2ckfq_props?.currentRow.department,
          reportedBy: vid_adtzo2ckfq_props?.currentRow.reportedBy,
          taskId: vid_adtzo2ckfq_props?.currentRow.taskId
          };

          // 注入附加的参数
          try {
            merge(params, additionParams);
          } catch (error) {
            console.log(error)
          }

          // 判断加载提示

          // 处理URL
          let url = '/solution-ppm/api/v2/built-in-system-ppm/weekly/daily_list';
          // 替换url中的变量

          // 排除空参数  日期组件重置后的空参数是[null] 或者[undefined]
          Object.keys(params).forEach(key=>{ if(params[key] === null){ delete params[key] }else if( Object.prototype.toString.call(params[key]) === '[object Object]' ){ Object.keys(params[key]).forEach(childKey=>{ if(params[key][childKey] === null || (Array.isArray(params[key][childKey]) && params[key][childKey].length === 1 && isNullOrUnDef(params[key][childKey]?.[0]))){ delete params[key][childKey] }}) } });
          return post(url, params, {
                headers: undefined
              }).then(async (resp) => {
            dataConnector_conn_8c3r8lncog_response.value = resp;

            return resp;
          }).catch(async (e) => {


            return Promise.reject(e);
          }).finally(async () => {


          })
        }

          return await exec()

    }


    // 页面数据 周报列表
    const dataConnector_conn_s28yhp25fm_response = ref();
    const dataConnector_conn_s28yhp25fm = async (additionParams = {}) => {
        const exec = async () => {
          // 获取参数
          const params = {
            treeId: undefined,
          week: vid_fai3ege64z_props?.selected.value,
          partnershipOrCustomerName: undefined,
          projectCode: undefined,
          treeName: undefined,
          pageNo: vid_adtzo2ckfq_props?.rt_tableConfig.pagination.current,
          dateOption: m_02wntqzz73.w_jz0c7q9a04,
          pageSize: vid_adtzo2ckfq_props?.rt_tableConfig.pagination.pageSize,
          myWeekly: 'true'
          };

          // 注入附加的参数
          try {
            merge(params, additionParams);
          } catch (error) {
            console.log(error)
          }

          // 判断加载提示

          // 处理URL
          let url = '/solution-ppm/api/v2//built-in-system-ppm/weekly/list';
          // 替换url中的变量

          // 排除空参数  日期组件重置后的空参数是[null] 或者[undefined]
          Object.keys(params).forEach(key=>{ if(params[key] === null){ delete params[key] }else if( Object.prototype.toString.call(params[key]) === '[object Object]' ){ Object.keys(params[key]).forEach(childKey=>{ if(params[key][childKey] === null || (Array.isArray(params[key][childKey]) && params[key][childKey].length === 1 && isNullOrUnDef(params[key][childKey]?.[0]))){ delete params[key][childKey] }}) } });
          return post(url, params, {
                headers: undefined
              }).then(async (resp) => {
            dataConnector_conn_s28yhp25fm_response.value = resp;

            return resp;
          }).catch(async (e) => {


            return Promise.reject(e);
          }).finally(async () => {


          })
        }

          return await exec()

    }


    // 页面数据 月的周数量
    const dataConnector_conn_8qe9volsge_response = ref();
    const dataConnector_conn_8qe9volsge = async (additionParams = {}) => {
        const exec = async () => {
          // 获取参数
          const params = {
            treeId: undefined,
          week: undefined,
          partnershipOrCustomerName: undefined,
          projectCode: undefined,
          treeName: undefined,
          pageNo: undefined,
          dateOption: m_02wntqzz73.w_jz0c7q9a04,
          pageSize: undefined
          };

          // 注入附加的参数
          try {
            merge(params, additionParams);
          } catch (error) {
            console.log(error)
          }

          // 判断加载提示

          // 处理URL
          let url = '/solution-ppm/api/v2//built-in-system-ppm/weekly/month-week';
          // 替换url中的变量

          // 排除空参数  日期组件重置后的空参数是[null] 或者[undefined]
          Object.keys(params).forEach(key=>{ if(params[key] === null){ delete params[key] }else if( Object.prototype.toString.call(params[key]) === '[object Object]' ){ Object.keys(params[key]).forEach(childKey=>{ if(params[key][childKey] === null || (Array.isArray(params[key][childKey]) && params[key][childKey].length === 1 && isNullOrUnDef(params[key][childKey]?.[0]))){ delete params[key][childKey] }}) } });
          return post(url, params, {
                headers: undefined
              }).then(async (resp) => {
            dataConnector_conn_8qe9volsge_response.value = resp;

            return resp;
          }).catch(async (e) => {


            return Promise.reject(e);
          }).finally(async () => {


          })
        }

          return await exec()

    }


    // 页面数据 周报列表v2
    const dataConnector_conn_5jvadrb0tj_response = ref();
    const dataConnector_conn_5jvadrb0tj = async (additionParams = {}) => {
        const exec = async () => {
          // 获取参数
          const params = {
            week: vid_fai3ege64z_props?.selected.value,
          partnershipOrCustomerName: undefined,
          dateOption: m_02wntqzz73.w_jz0c7q9a04,
          reportedByList: undefined,
          departmentNameList: undefined,
          pageSize: vid_adtzo2ckfq_props?.rt_tableConfig.pagination.pageSize,
          myWeekly: true,
          endDateTime: undefined,
          reportedBy: undefined,
          treeId: undefined,
          startDateTime: undefined,
          projectCode: undefined,
          treeName: undefined,
          pageNo: vid_adtzo2ckfq_props?.rt_tableConfig.pagination.current,
          department: undefined,
          taskId: undefined,
          status: undefined
          };

          // 注入附加的参数
          try {
            merge(params, additionParams);
          } catch (error) {
            console.log(error)
          }

          // 判断加载提示

          // 处理URL
          let url = '/solution-ppm/api/v2//built-in-system-ppm/weekly/list';
          // 替换url中的变量

          // 排除空参数  日期组件重置后的空参数是[null] 或者[undefined]
          Object.keys(params).forEach(key=>{ if(params[key] === null){ delete params[key] }else if( Object.prototype.toString.call(params[key]) === '[object Object]' ){ Object.keys(params[key]).forEach(childKey=>{ if(params[key][childKey] === null || (Array.isArray(params[key][childKey]) && params[key][childKey].length === 1 && isNullOrUnDef(params[key][childKey]?.[0]))){ delete params[key][childKey] }}) } });
          return post(url, params, {
                headers: undefined
              }).then(async (resp) => {
            dataConnector_conn_5jvadrb0tj_response.value = resp;

            return resp;
          }).catch(async (e) => {


            return Promise.reject(e);
          }).finally(async () => {


          })
        }

          return await exec()

    }


  /* ========================== 页面数据 ========================== */



  /* -------------------------- 响应 -------------------------- */

  /* ========================== 响应 ========================== */


  /* -------------------------- 函数 -------------------------- */

    // 自定义函数 查询条件校验
    const customFunction_sb2zyth5yo = async (params) => {
      	if (!m_02wntqzz73.w_jz0c7q9a04  && !m_02wntqzz73.r_xc6e2ec0mi) {
  		return Promise.resolve()
  	} else if (!m_02wntqzz73.w_jz0c7q9a04 && m_02wntqzz73.r_xc6e2ec0mi) {
  		message.info('请完善全部搜索条件')
  		return Promise.reject()
  	} else if (m_02wntqzz73.w_jz0c7q9a04 && !m_02wntqzz73.r_xc6e2ec0mi) {
  		message.info('请完善全部搜索条件')
  		return Promise.reject()
  	}
    }

  /* ========================== 函数 ========================== */


  /* -------------------------- 页面参数 -------------------------- */

    const pageParameter_state = reactive({
        'processInstanceId': props.processInstanceId ?? route.query.processInstanceId,
    })

  /* ========================== 页面参数 ========================== */


  /* -------------------------- 组件事件处理方法 -------------------------- */

    // ---------------------------- 组件数据同步 ----------------------------
    // 处理 表格_qq9u2xqguu 的 systemList 属性关联
  watch(() => dataConnector_conn_8c3r8lncog_response?.value?.dataList,
    () => {
      let dataList = dataConnector_conn_8c3r8lncog_response?.value?.dataList

      // 处理零代码生成的表格数据，将dataList展开
      const data = dataConnector_conn_8c3r8lncog_response?.value;
      if (data && 'dataList' in data && 'columnList' in data) {
        const newDataList = parseSubFromDataList(dataList);
        if (newDataList.length) {
          dataList = newDataList;
        }
      }

      vid_9gjbgcfkvz_options_raw.value = dataList;
    },
    {deep: true})
  // 处理 表格_qq9u2xqguu 的 totalNumber 属性关联
  watch(() => dataConnector_conn_8c3r8lncog_response?.value?.totalElements,
    () => {
      let dataList = dataConnector_conn_8c3r8lncog_response?.value?.totalElements

      vid_9gjbgcfkvz_props.totalNumber = dataList;
    },
    {deep: true})
  // 处理 下拉框_week 的 systemList 属性关联
  watch(() => dataConnector_conn_8qe9volsge_response?.value?.data,
    () => {
      let dataList = dataConnector_conn_8qe9volsge_response?.value?.data

      vid_fai3ege64z_options_raw.value = dataList;
    },
    {deep: true})
  // 处理 简单文本_sq248qyznc 的 rt_text 属性关联
  watch(() => dataConnector_conn_s28yhp25fm_response?.value?.weeklyName,
    () => {
      let dataList = dataConnector_conn_s28yhp25fm_response?.value?.weeklyName

      vid_y6ya0nnajf_props.rt_text = dataList;
    },
    {deep: true})
  // 处理 表格_7pocajidec 的 systemList 属性关联
  watch(() => dataConnector_conn_5jvadrb0tj_response?.value?.data?.dataList,
    () => {
      let dataList = dataConnector_conn_5jvadrb0tj_response?.value?.data?.dataList

      // 处理零代码生成的表格数据，将dataList展开
      const data = dataConnector_conn_5jvadrb0tj_response?.value?.data;
      if (data && 'dataList' in data && 'columnList' in data) {
        const newDataList = parseSubFromDataList(dataList);
        if (newDataList.length) {
          dataList = newDataList;
        }
      }

      vid_adtzo2ckfq_options_raw.value = dataList;
    },
    {deep: true})
  // 处理 表格_7pocajidec 的 totalNumber 属性关联
  watch(() => dataConnector_conn_5jvadrb0tj_response?.value?.data?.totalElements,
    () => {
      let dataList = dataConnector_conn_5jvadrb0tj_response?.value?.data?.totalElements

      vid_adtzo2ckfq_props.totalNumber = dataList;
    },
    {deep: true})
    // ============================ 组件数据同步 ============================

  /**
  * 处理元素 对话框 的 cancel 事件
  */
  let handle_vid_rl9vy8v5u7_cancel = throttle(async (...params) => {
  vid_rl9vy8v5u7_props.visible = false;
  }, 500)
  /**
  * 处理元素 对话框 的 ok 事件
  */
  let handle_vid_rl9vy8v5u7_ok = throttle(async (...params) => {
  vid_rl9vy8v5u7_props.visible = false;
  }, 500)
  /**
  * 处理元素 表格 的 change 事件
  */
  let handle_vid_9gjbgcfkvz_change = throttle(async (...params) => {
  // 处理分页器相关数据
  const [pagination, filters, sorter] = params;
  const { current, pageSize } = pagination;
  vid_9gjbgcfkvz_props.rt_tableConfig.pagination.current = current;
  vid_9gjbgcfkvz_props.rt_tableConfig.pagination.pageSize = pageSize;
  // 处理排序相关数据
  const { field, order } = sorter;
  const sorterList = [...vid_9gjbgcfkvz_props.rowMergeSort];
  let sorterValue = {};
  if (order === 'descend') {
  sorterValue = { order: field, direction: 'DESC' }
  } else if (order === 'ascend') {
  sorterValue = { order: field, direction: 'ASC' }
  }
  sorterList.push(sorterValue);
  vid_9gjbgcfkvz_props.systemSort = sorterList;
  vid_9gjbgcfkvz_props.sorter = sorterValue;
  }, 500)
  /**
  * 处理元素 按钮 的 click 事件
  */
  let handle_vid_r21o6ggnz1_click = throttle(async (...params) => {
  await customFunction_sb2zyth5yo();
  await dataConnector_conn_5jvadrb0tj()
  }, 500)
  /**
  * 处理元素 按钮 的 click 事件
  */
  let handle_vid_1vue9vmoey_click = throttle(async (...params) => {
  // 这里组件可能还未初始化， 这里使用可选链的形式进行函数触发
  try {
  await vid_428ccyynys_ref.value?.resetFields();
  } catch (error) { console.log(error);}
  await dataConnector_conn_s28yhp25fm()
  }, 500)
  /**
  * 处理元素 下拉框 的 focus 事件
  */
  let handle_vid_fai3ege64z_focus = throttle(async (...params) => {
  await dataConnector_conn_8qe9volsge()
  }, 500)
  /**
  * 处理元素 下拉框 的 change 事件
  */
  let handle_vid_fai3ege64z_change = throttle(async (...params) => {
  const [,option] = params;
  vid_fai3ege64z_props.selected.label = option?.label;
  vid_fai3ege64z_props.selected.value = option?.value;
  vid_fai3ege64z_props.selected.option = option;
  vid_fai3ege64z_props.selected.optionArray = [{ label: option?.label, value: option?.value }];
  }, 500)
  /**
  * 处理元素 下拉框 的 search 事件
  */
  let handle_vid_fai3ege64z_search = throttle(async (...params) => {
  const [searchValue] = params;
  vid_fai3ege64z_props.searchValue = searchValue;
  }, 500)
  /**
  * 处理元素 表格 的 clickBtn_sx4fdakyyx 事件
  */
  let handle_vid_adtzo2ckfq_clickBtn_sx4fdakyyx = throttle(async (...params) => {
  // 存储表格当前行数据
  const [record] = params;
  vid_adtzo2ckfq_props.currentRow = record;
  vid_rl9vy8v5u7_props.visible = true;
  await dataConnector_conn_8c3r8lncog()
  }, 500)
  /**
  * 处理元素 表格 的 change 事件
  */
  let handle_vid_adtzo2ckfq_change = throttle(async (...params) => {
  // 处理分页器相关数据
  const [pagination, filters, sorter] = params;
  const { current, pageSize } = pagination;
  vid_adtzo2ckfq_props.rt_tableConfig.pagination.current = current;
  vid_adtzo2ckfq_props.rt_tableConfig.pagination.pageSize = pageSize;
  // 处理排序相关数据
  const { field, order } = sorter;
  const sorterList = [...vid_adtzo2ckfq_props.rowMergeSort];
  let sorterValue = {};
  if (order === 'descend') {
  sorterValue = { order: field, direction: 'DESC' }
  } else if (order === 'ascend') {
  sorterValue = { order: field, direction: 'ASC' }
  }
  sorterList.push(sorterValue);
  vid_adtzo2ckfq_props.systemSort = sorterList;
  vid_adtzo2ckfq_props.sorter = sorterValue;
  await dataConnector_conn_5jvadrb0tj()
  }, 500)
  /**
  * 处理元素 表格 的 clickBtn_es06opwyzy 事件
  */
  let handle_vid_adtzo2ckfq_clickBtn_es06opwyzy = throttle(async (...params) => {
  // 存储表格当前行数据
  const [record] = params;
  vid_adtzo2ckfq_props.currentRow = record;
  }, 500)
  /**
  * 处理元素 表格 的 clickBtn_nx15x0jbh1 事件
  */
  let handle_vid_adtzo2ckfq_clickBtn_nx15x0jbh1 = throttle(async (...params) => {
  // 存储表格当前行数据
  const [record] = params;
  vid_adtzo2ckfq_props.currentRow = record;
  }, 500)
  /**
  * 处理元素 表格 的 clickBtn_84a53bsx17 事件
  */
  let handle_vid_adtzo2ckfq_clickBtn_84a53bsx17 = throttle(async (...params) => {
  // 存储表格当前行数据
  const [record] = params;
  vid_adtzo2ckfq_props.currentRow = record;
  }, 500)
  /**
  * 处理元素 表格 的 clickBtn_xpfbg8uamw 事件
  */
  let handle_vid_adtzo2ckfq_clickBtn_xpfbg8uamw = throttle(async (...params) => {
  // 存储表格当前行数据
  const [record] = params;
  vid_adtzo2ckfq_props.currentRow = record;
  }, 500)
  /* ========================== 组件事件处理方法 ========================== */


  /* -------------------------- 生命周期 -------------------------- */
  // 用于参数变更后重新执行自定义指令
      const queryUpdateFlag = ref(0);
      onMounted(() => { ;dataConnector_conn_s28yhp25fm()
  dataConnector_conn_5jvadrb0tj()

    });

    onUnmounted(() => {
      // 销毁定时器
      setTimeOutList.forEach(({ repeat, timer }) => {
        repeat ?  clearInterval(timer): clearTimeout(timer);
      });
    });

  /* ========================== 生命周期 ========================== */


  /* -------------------------- 数据关联处理 -------------------------- */





  /* -------------------------- 表单数据同步 -------------------------- */
  /* ========================== 表单数据同步 ========================== */

  /* ========================== 数据关联处理 ========================== */


  /* -------------------------- 不同组件自定义的处理逻辑 -------------------------- */
  onMounted(() => {
    const rawColumnList = []
    traversalTreeStructure(vid_9gjbgcfkvz_props.columnList, (node) => {
      if (node.type === 'column') {
        rawColumnList.push(node)
      }
    });
    
    // 获取缓存的表格列宽度，处理列宽信息
    UserTableRecords.getTableRecords(localGet('al__UID')).then((res) => {
      const columnWidthMap = res['vid_9gjbgcfkvz'] ?? {};
      rawColumnList.map((column) => {
        if(columnWidthMap[column.dataIndex]) {
          column.width = columnWidthMap[column.dataIndex]
        }
      })
    });
    
    vid_9gjbgcfkvz_props.rawColumnList = rawColumnList;
  })
  // 生成表格列：相同分组的数据需要合并单元格
  const vid_9gjbgcfkvz_columns = computed(() => {
    // 需要合并单元格的列
    const groupKeys = [];

    // 将表头配置按照groupTitle字段进行分组，以实现多级表头
    const columnList = [...vid_9gjbgcfkvz_props.columnList];
    function formatColumns(columns) {
      columns.forEach(item => {
        const { dataIndex, contentAlign, children, customCellStyle } = item;
        // 如果当前列是分组列，则递归处理它的子列，当前列本身不作处理
        if (!dataIndex && children && children.length) {
          formatColumns(children);
          return;
        }

        const groupIndex = groupKeys.findIndex(item => item === dataIndex);
        // 如果当前字段属于分组字段，则给它添加合并单元格的配置，否则直接返回
        if (groupIndex === -1) {
          item.customCell = (record, index) => {
            return { style: { 'text-align': contentAlign, ...(customCellStyle || {}) } };
          };
        } else {
          item.customCell = (record, index) => {
            const rowGroupKeys = groupKeys.slice(0, groupIndex + 1);
            const rowSpanList = generateRowSpanList(vid_9gjbgcfkvz_options.value(), rowGroupKeys,vid_9gjbgcfkvz_props.editRecordMap);
            return { rowSpan: rowSpanList[index], style: { 'text-align': contentAlign, ...(customCellStyle || {}) } };
          };
        }
      })
    }

    // 格式化column：增加合并单元格的配置，以及自定义样式
    formatColumns(columnList);

    return columnList;
  });


    // 表格分页器信息：将总条数信息加到基础分页信息中
    const vid_9gjbgcfkvz_pagination = computed(() => {
      const { totalNumber, rt_tableConfig } = vid_9gjbgcfkvz_props;
      const {
        enable = true,
        current= 1,
        pageSize= 10,
        showSizeChanger= false,
        pageSizeOptions= '10,20,30,40',
        showTotal= false,
        showQuickJumper= false,
        simple= false,
        hideOnSinglePage= false,
      } = rt_tableConfig.pagination ?? {};
      const { size = 'default', layout='bottomRight' } = rt_tableConfig?.style?.paginationStyle || {}
      let info = {};
      if(enable) {
        info = {
          total: totalNumber || 0,
          pageSize,
          size,
          simple,
          current,
          showSizeChanger,
          pageSizeOptions: pageSizeOptions.split(','),
          showQuickJumper,
          hideOnSinglePage,
          position: [layout],
        }
        if(showTotal) {
          info.showTotal = (total, range) => `共${total}个项目，第${current}/${Math.ceil(total / pageSize)}页`
        }
        return info;
      }
      return false;
    })
  immediateWatch(
    () => [m_02wntqzz73?.r_xc6e2ec0mi, vid_fai3ege64z_options?.value()],
    () => {
      if(!!handle_vid_fai3ege64z_change) {
      const options = (vid_fai3ege64z_options?.value() || []).find((item) => item.value === m_02wntqzz73?.r_xc6e2ec0mi || item.label === m_02wntqzz73?.r_xc6e2ec0mi )
      if(!options) {
        return;
      }
        // 重置了表单，这里重置下拉框
        handle_vid_fai3ege64z_change(m_02wntqzz73?.r_xc6e2ec0mi, {...options} || {})
      }
    }
  )
  onMounted(() => {
    const rawColumnList = []
    traversalTreeStructure(vid_adtzo2ckfq_props.columnList, (node) => {
      if (node.type === 'column') {
        rawColumnList.push(node)
      }
    });
    
    // 获取缓存的表格列宽度，处理列宽信息
    UserTableRecords.getTableRecords(localGet('al__UID')).then((res) => {
      const columnWidthMap = res['vid_adtzo2ckfq'] ?? {};
      rawColumnList.map((column) => {
        if(columnWidthMap[column.dataIndex]) {
          column.width = columnWidthMap[column.dataIndex]
        }
      })
    });
    
    vid_adtzo2ckfq_props.rawColumnList = rawColumnList;
  })
  // 生成表格列：相同分组的数据需要合并单元格
  const vid_adtzo2ckfq_columns = computed(() => {
    // 需要合并单元格的列
    const groupKeys = ['department', 'projectName', 'reportedBy', 'custom0'];

    // 将表头配置按照groupTitle字段进行分组，以实现多级表头
    const columnList = [...vid_adtzo2ckfq_props.columnList];
    function formatColumns(columns) {
      columns.forEach(item => {
        const { dataIndex, contentAlign, children, customCellStyle } = item;
        // 如果当前列是分组列，则递归处理它的子列，当前列本身不作处理
        if (!dataIndex && children && children.length) {
          formatColumns(children);
          return;
        }

        const groupIndex = groupKeys.findIndex(item => item === dataIndex);
        // 如果当前字段属于分组字段，则给它添加合并单元格的配置，否则直接返回
        if (groupIndex === -1) {
          item.customCell = (record, index) => {
            return { style: { 'text-align': contentAlign, ...(customCellStyle || {}) } };
          };
        } else {
          item.customCell = (record, index) => {
            const rowGroupKeys = groupKeys.slice(0, groupIndex + 1);
            const rowSpanList = generateRowSpanList(vid_adtzo2ckfq_options.value(), rowGroupKeys,vid_adtzo2ckfq_props.editRecordMap);
            return { rowSpan: rowSpanList[index], style: { 'text-align': contentAlign, ...(customCellStyle || {}) } };
          };
        }
      })
    }

    // 格式化column：增加合并单元格的配置，以及自定义样式
    formatColumns(columnList);

    return columnList;
  });


    // 表格分页器信息：将总条数信息加到基础分页信息中
    const vid_adtzo2ckfq_pagination = computed(() => {
      const { totalNumber, rt_tableConfig } = vid_adtzo2ckfq_props;
      const {
        enable = true,
        current= 1,
        pageSize= 10,
        showSizeChanger= false,
        pageSizeOptions= '10,20,30,40',
        showTotal= false,
        showQuickJumper= false,
        simple= false,
        hideOnSinglePage= false,
      } = rt_tableConfig.pagination ?? {};
      const { size = 'default', layout='bottomRight' } = rt_tableConfig?.style?.paginationStyle || {}
      let info = {};
      if(enable) {
        info = {
          total: totalNumber || 0,
          pageSize,
          size,
          simple,
          current,
          showSizeChanger,
          pageSizeOptions: pageSizeOptions.split(','),
          showQuickJumper,
          hideOnSinglePage,
          position: [layout],
        }
        if(showTotal) {
          info.showTotal = (total, range) => `共${total}个项目，第${current}/${Math.ceil(total / pageSize)}页`
        }
        return info;
      }
      return false;
    })


        // 补充一个watch，用于监听删除最后一页最后一条数据的情况，然后重新加载数据
        watch(() => dataConnector_conn_5jvadrb0tj_response?.value?.data?.dataList, (newValue) => {
          const current = vid_adtzo2ckfq_props.rt_tableConfig.pagination.current;
          if (!newValue?.length && current > 1) {
            vid_adtzo2ckfq_props.rt_tableConfig.pagination.current = current - 1;
            dataConnector_conn_5jvadrb0tj();
          }
        });
  /**
   * 生成分组字段合并单元格的配置：返回值为一个数字数组，数组里面每一项即为该字段当前行的rowSpan配置
   * @param {Array} 表格中的数据
   * @param {Array} 当前分组字段的列表，注：为了保证优先级低的字段合并后是优先级高的字段合并后的子集，需要把比该字段优先级高的分组字段按顺序放在该字段前面；例如：所有分组字段列表为['grade', 'age', 'score']，要生成age字段的合并单元格配置，则该参数需要传['grade', 'age']
   * @returns {Array} 该字段合并单元格的rowSpan配置，例：[1, 1, 2, 0, 1]
   */
  function generateRowSpanList(dataSource, groupKeys,editRecordMap) {
    if (!dataSource || !dataSource.length) {
      return [];
    }

    const rowSpanList = [];

    // 判断单元格是否需要合并的临时值：使用表格数据最后一行进行初始化（表格数据的遍历是倒序进行的）
    let tempValue = getGroupValue(dataSource[dataSource.length - 1], groupKeys);
    // 记录需要合并单元格的数量
    let tempValueCount = 0;

    // 倒序遍历数组，以保证使用最前面一条数据合并单元格
    for (let index = dataSource.length - 1; index >= 0; index--) {
      rowSpanList[index] = 0;
      const groupValue = getGroupValue(dataSource[index], groupKeys);
      // 如果当前行的分组数据跟上一行一致，则将标记数量加一；否则将标记数量的当前值赋给上一条数据，并重置临时值和标记数量
      if(editRecordMap && editRecordMap[index]){ //如果当前行是编辑行
        rowSpanList[index + 1] = tempValueCount;
        tempValue = "";
        tempValueCount=1;
      }
      else if (groupValue === tempValue) {
        tempValueCount++;
      } else {
        rowSpanList[index + 1] = tempValueCount;
        tempValue = groupValue;
        tempValueCount = 1;
      }

      // 遍历到最后一行，将当前的标记数量赋给当前行
      if (index === 0) {
        rowSpanList[index] = tempValueCount;
      }
    }

    return rowSpanList;
  }

  /**
   * 根据分组字段列表生成当前数据行的分组值
   * @param {Object} 当前数据行
   * @param {Array} 分组字段列表
   * @returns {String} 拼装的当前数据行的分组值，例：record为{ age: 7, grade: '一年级', name: '小赵' }，groupKeys为['grade', 'age']，则拼装后的返回值为'一年级__$__7'
   */
  function getGroupValue(record, groupKeys) {
    const groupValueList = [];
    groupKeys.forEach(groupKey => {
      let val = record[groupKey]
      if (isArray(val)) {
        val = record[groupKey + '_labels']
      } else if (isObject(val)) {
        console.warn('警告表格列数据为object，可能导致行合并异常，列key为：'+ groupKey,val)
      }
      groupValueList.push(`${val}`);
    });
    return groupValueList.join('__$__');
  }

  /**
   * 将列表数据转换成树状数据
   * @param {Array} 原始的列表数据
   * @param {String|Number} 列表数据的唯一key
   * @param {String|Number} 列表数据转成树时的父级id
  */
  function convertListToTree(list, key, parentKey) {
    const clonedList = cloneDeep(list || []);

    // 遍历列表数据，生成树节点的map：key为列表数据的唯一key，value为列表当前行的数据
    const treeNodeMap = {};
    clonedList.forEach(item => {
      treeNodeMap[item[key]] = item;
    });

    const treeDataList = [];
    clonedList.forEach(item => {
      // 如果当前行数据的父级id不在树节点的map中，则当前数据为根节点数据，将其加入最终树形数据的列表；否则将其放入其父节点数据的children中
      if (!treeNodeMap[item[parentKey]]) {
        treeDataList.push(item);
      } else {
        if (!treeNodeMap[item[parentKey]].children) {
          treeNodeMap[item[parentKey]].children = [];
        }
        treeNodeMap[item[parentKey]].children.push(item);
      }
    });

    return treeDataList;
  }

  /**
   * 表格列宽伸缩处理，使用indexedDB缓存伸缩后的列宽度
   */
  const handleResizeColumn = (w, col, vid) => {
    col.width = w;
    
    UserTableRecords.saveTableRecords(col, localGet('al__UID'), vid)
    
  }
  /* ========================== 不同组件自定义的处理逻辑 ========================== */


  // ================================定制化逻辑========================================
</script>
<style lang="less" scoped>
  .page_root {
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color:#F0F2F5;
  }
  .page_root :deep(.@{ant-prefix}-spin-nested-loading),
  .page_root :deep(.@{ant-prefix}-spin-container)
   {
      height: 100%;
  }
  .page_root :deep(.@{ant-prefix}-spin-container .@{ant-prefix}-table-wrapper)
   {
      display: flex;
      flex-flow: column nowrap;
      justify-content: flex-start;
  }
  .page_root :deep(.@{ant-prefix}-table)
   {
    flex: auto;
    overflow: auto;
  }
  .table-moreBtn_down {
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis; width: 100px;
  }

  .table-moreBtn_menu :deep(.table-moreBtn_menu-item):hover {
    background: #ebf1ff;
  }

  /*  表格树结构样式处理，展开按钮层级增加*/
  :deep(.@{ant-prefix}-table-row-expand-icon) {
    z-index: 1;
  }
  /*  表格树结构 由于每个表格项采用自定义组件，使用绝对定位布局，开启树结构导致显示异常，暂时使用层级定位位置 */
  :deep(.@{ant-prefix}-table-row-level-1 .@{ant-prefix}-table-cell-with-append .cell-wrapper-left) {
    left: 15px !important;
    width: calc(100% - 15px);
  }
  :deep(.@{ant-prefix}-table-row-level-2 .@{ant-prefix}-table-cell-with-append .cell-wrapper-left) {
    left: 30px !important;
    width: calc(100% - 30px);
  }
  :deep(.@{ant-prefix}-table-row-level-3 .@{ant-prefix}-table-cell-with-append .cell-wrapper-left) {
    left: 45px !important;
    width: calc(100% - 45px);
  }
  :deep(.@{ant-prefix}-table-row-level-4 .@{ant-prefix}-table-cell-with-append .cell-wrapper-left) {
    left: 60px !important;
    width: calc(100% - 60px);
  }

  /* 穿梭框改变默认样式，为根据组件样式控制左右栏宽度。 */
  :deep(.@{ant-prefix}-transfer-list)
   {
      height: 100%;
      width: 50%;
  }
  .vid_9gjbgcfkvz :deep(.@{ant-prefix}-table-thead) > tr {
      height: 40px;
  }
  .vid_9gjbgcfkvz :deep(.@{ant-prefix}-table-thead) > tr > th {
    background: #3875FF;
    font-size: 14px;
    font-family: arial, helvetica, "microsoft yahei";
    font-weight: 600;
    color: #FFFFFF;
    border-bottom:1px solid #D9D9D9;
    padding: 8px 16px;
  }
  .vid_9gjbgcfkvz :deep(.@{ant-prefix}-table.@{ant-prefix}-table-bordered) .@{ant-prefix}-table-container .@{ant-prefix}-table-thead > tr:not(:last-child) > th {
    border-bottom:1px solid #D9D9D9;
  }
  .vid_9gjbgcfkvz :deep(.@{ant-prefix}-table.@{ant-prefix}-table-bordered) .@{ant-prefix}-table-container .@{ant-prefix}-table-thead > tr > th {
    border-right:1px solid #D9D9D9;
  }
  /* 将表格自带的左边框取消，方便设置表头边框颜色和内容边框颜色 */
  .vid_9gjbgcfkvz :deep(.@{ant-prefix}-table.@{ant-prefix}-table-bordered) .@{ant-prefix}-table-container {
    border-left: none;
  }
  .vid_9gjbgcfkvz :deep(.@{ant-prefix}-table.@{ant-prefix}-table-bordered) .@{ant-prefix}-table-container .@{ant-prefix}-table-thead > tr > th[colstart='0']:first-child {
    border-left:1px solid #D9D9D9;
  }
  /* 开启粘性表头后，表格结构会发生变化 需另外处理 */
  .vid_9gjbgcfkvz :deep(.@{ant-prefix}-table.@{ant-prefix}-table-bordered) .@{ant-prefix}-table-container .@{ant-prefix}-table-header table {
    border-top:1px solid #D9D9D9;
  }
  .vid_9gjbgcfkvz :deep(.@{ant-prefix}-table.@{ant-prefix}-table-bordered) .@{ant-prefix}-table-container > .@{ant-prefix}-table-content > table {
    border-top:1px solid #D9D9D9;
  }
  .vid_9gjbgcfkvz :deep(.@{ant-prefix}-table-thead) > tr > th:not(:last-child):not(.@{ant-prefix}-table-selection-column):not(.@{ant-prefix}-table-row-expand-icon-cell):not([colspan])::before {
      background: #D9D9D9;
      width: 1px;
  }
  .vid_9gjbgcfkvz :deep(.@{ant-prefix}-table-cell-scrollbar) {
      box-shadow: none;
  }
  .vid_9gjbgcfkvz :deep(.@{ant-prefix}-table-tbody) tr {
    height: 40px;
  }
  .vid_9gjbgcfkvz :deep(.@{ant-prefix}-table-tbody) tr > td {
    font-size: 14px;
    font-family: arial, helvetica, "microsoft yahei";
    font-weight: 400;
    color: #262626;
    border-bottom:1px solid #D9D9D9;
    padding: 0 16px;
    word-break: break-all;
    .cell-wrapper {
      padding: 0 16px;
    }
  }

  .vid_9gjbgcfkvz :deep(.@{ant-prefix}-table-tbody) tr > td .cell-wrapper {
    padding: 0 16px;
  }
  .vid_9gjbgcfkvz :deep(.@{ant-prefix}-table-empty .@{ant-prefix}-table-tbody tr > td) {
    padding: 0;
  }
  .vid_9gjbgcfkvz :deep(.@{ant-prefix}-table-tbody) tr > td .@{ant-prefix}-btn {
    padding: 0 30px 0 0;
  }
  .vid_9gjbgcfkvz :deep(.@{ant-prefix}-table-tbody) tr > td .@{ant-prefix}-btn:last-child {
    padding: 0;
  }
  .vid_9gjbgcfkvz :deep(.table-striped-odd) td {
    background-color: #FFFFFF;
  }
  .vid_9gjbgcfkvz :deep(.table-striped-even) td {
    background-color: #F8FAFC;
  }
  .vid_9gjbgcfkvz :deep(.@{ant-prefix}-table.@{ant-prefix}-table-bordered) .@{ant-prefix}-table-container .@{ant-prefix}-table-tbody tr > td {
    border-right:1px solid #D9D9D9;
  }
  .vid_9gjbgcfkvz :deep(.@{ant-prefix}-table.@{ant-prefix}-table-bordered) .@{ant-prefix}-table-container .@{ant-prefix}-table-tbody tr > td:first-child {
    border-left:1px solid #D9D9D9;
  }
  .vid_9gjbgcfkvz{
      width:100%
  }
  .vid_9gjbgcfkvz:active{
      width:100%
  }
  .vid_9gjbgcfkvz:focus{
      width:100%
  }
  .vid_9gjbgcfkvz:hover{
      width:100%
  }
  .vid_428ccyynys{
      box-shadow:0px 0px 0px 0px
  }
  .vid_ej37udkjmn{
      display:flex;
      align-items:center;
      flex-wrap:undefined;
      margin-bottom:16px;
      padding-top:16px;
      padding-right:24px;
      padding-bottom:16px;
      padding-left:24px;
      background-color:#FFFFFF
  }
  .vid_r21o6ggnz1{
      margin-right:16px;
      margin-left:24px;
      background-color:#3875FF;
      border-radius:2px
  }
  .vid_1vue9vmoey{
      border-radius:2px
  }
  .vid_vk3nebeszm{
      margin-bottom:0px
  }
  .vid_fai3ege64z{
      width:100%
  }
  .vid_fwd40nqr8s{
      margin-right:16px;
      margin-bottom:0px
  }
  .vid_2ud6agub9y :deep(input) {
        cursor: undefined;
      }
  .vid_2ud6agub9y{
      width:100%
  }
  .vid_6zqqvkzz4x{
      height:100%;
      overflow-y:auto;
      display:block;
      padding-top:16px;
      padding-right:24px;
      padding-bottom:16px;
      padding-left:24px;
      background-color:#FFFFFF;
      box-shadow:0px 0px 0px 0px
  }
  .vid_quyu77h3tn{
      margin-bottom:16px
  }
  .vid_y6ya0nnajf{
      font-weight:600;
      color:rgba(56, 117, 255, 1);
      font-size:16px
  }
  .vid_adtzo2ckfq :deep(.@{ant-prefix}-table-thead) > tr {
      height: 40px;
  }
  .vid_adtzo2ckfq :deep(.@{ant-prefix}-table-thead) > tr > th {
    background: #3875FF;
    font-size: 14px;
    font-family: arial, helvetica, "microsoft yahei";
    font-weight: 600;
    color: #FFFFFF;
    border-bottom:1px solid #EBEBEB;
    padding: 8px 16px;
  }
  .vid_adtzo2ckfq :deep(.@{ant-prefix}-table.@{ant-prefix}-table-bordered) .@{ant-prefix}-table-container .@{ant-prefix}-table-thead > tr:not(:last-child) > th {
    border-bottom:1px solid #EBEBEB;
  }
  .vid_adtzo2ckfq :deep(.@{ant-prefix}-table.@{ant-prefix}-table-bordered) .@{ant-prefix}-table-container .@{ant-prefix}-table-thead > tr > th {
    border-right:1px solid #EBEBEB;
  }
  /* 将表格自带的左边框取消，方便设置表头边框颜色和内容边框颜色 */
  .vid_adtzo2ckfq :deep(.@{ant-prefix}-table.@{ant-prefix}-table-bordered) .@{ant-prefix}-table-container {
    border-left: none;
  }
  .vid_adtzo2ckfq :deep(.@{ant-prefix}-table.@{ant-prefix}-table-bordered) .@{ant-prefix}-table-container .@{ant-prefix}-table-thead > tr > th[colstart='0']:first-child {
    border-left:1px solid #EBEBEB;
  }
  /* 开启粘性表头后，表格结构会发生变化 需另外处理 */
  .vid_adtzo2ckfq :deep(.@{ant-prefix}-table.@{ant-prefix}-table-bordered) .@{ant-prefix}-table-container .@{ant-prefix}-table-header table {
    border-top:1px solid #EBEBEB;
  }
  .vid_adtzo2ckfq :deep(.@{ant-prefix}-table.@{ant-prefix}-table-bordered) .@{ant-prefix}-table-container > .@{ant-prefix}-table-content > table {
    border-top:1px solid #EBEBEB;
  }
  .vid_adtzo2ckfq :deep(.@{ant-prefix}-table-thead) > tr > th:not(:last-child):not(.@{ant-prefix}-table-selection-column):not(.@{ant-prefix}-table-row-expand-icon-cell):not([colspan])::before {
      background: #EBEBEB;
      width: 1px;
  }
  .vid_adtzo2ckfq :deep(.@{ant-prefix}-table-cell-scrollbar) {
      box-shadow: none;
  }
  .vid_adtzo2ckfq :deep(.@{ant-prefix}-table-tbody) tr {
    height: 40px;
  }
  .vid_adtzo2ckfq :deep(.@{ant-prefix}-table-tbody) tr > td {
    font-size: 14px;
    font-family: arial, helvetica, "microsoft yahei";
    font-weight: 400;
    color: #262626;
    border-bottom:1px solid #D9D9D9;
    padding: 0 16px;
    word-break: break-all;
    .cell-wrapper {
      padding: 0 16px;
    }
  }

  .vid_adtzo2ckfq :deep(.@{ant-prefix}-table-tbody) tr > td .cell-wrapper {
    padding: 0 16px;
  }
  .vid_adtzo2ckfq :deep(.@{ant-prefix}-table-empty .@{ant-prefix}-table-tbody tr > td) {
    padding: 0;
  }
  .vid_adtzo2ckfq :deep(.@{ant-prefix}-table-tbody) tr > td .@{ant-prefix}-btn {
    padding: 0 30px 0 0;
  }
  .vid_adtzo2ckfq :deep(.@{ant-prefix}-table-tbody) tr > td .@{ant-prefix}-btn:last-child {
    padding: 0;
  }
  .vid_adtzo2ckfq :deep(.table-striped-odd) td {
    background-color: #FFFFFF;
  }
  .vid_adtzo2ckfq :deep(.table-striped-even) td {
    background-color: #F8FAFC;
  }
  .vid_adtzo2ckfq :deep(.@{ant-prefix}-table.@{ant-prefix}-table-bordered) .@{ant-prefix}-table-container .@{ant-prefix}-table-tbody tr > td {
    border-right:1px solid #D9D9D9;
  }
  .vid_adtzo2ckfq :deep(.@{ant-prefix}-table.@{ant-prefix}-table-bordered) .@{ant-prefix}-table-container .@{ant-prefix}-table-tbody tr > td:first-child {
    border-left:1px solid #D9D9D9;
  }
  .vid_adtzo2ckfq{
      width:100%;
      font-family:arial, helvetica, "microsoft yahei";;
      font-weight:400;
      color:rgba(89, 89, 89, 1);
      font-size:14px;
      background-color:#FFFFFF
  }
  .vid_adtzo2ckfq:active{
      width:100%
  }
  .vid_adtzo2ckfq:focus{
      width:100%
  }
  .vid_adtzo2ckfq:hover{
      width:100%
  }

  :deep(.@{ant-prefix}-table-empty .@{ant-prefix}-table-tbody tr > td) {
   padding: 0;
  }
</style>